package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单位信息对象 tb_companies
 * 
 * @author mcx
 * @date 2025-07-13
 */
public class TbCompanies extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companiesName;

    /** 税号 */
    @Excel(name = "税号")
    private String companiesTin;

    /** 法人 */
    @Excel(name = "法人")
    private String companiesFaren;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String companiesKhyh;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String companiesYhzh;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String companiesGsdz;

    /** 固定电话 */
    @Excel(name = "固定电话")
    private String companiesTel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String companiesMail;

    /** 备注 */
    @Excel(name = "备注")
    private String companiesRemark;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCompaniesName(String companiesName) 
    {
        this.companiesName = companiesName;
    }

    public String getCompaniesName() 
    {
        return companiesName;
    }

    public void setCompaniesTin(String companiesTin) 
    {
        this.companiesTin = companiesTin;
    }

    public String getCompaniesTin() 
    {
        return companiesTin;
    }

    public void setCompaniesFaren(String companiesFaren) 
    {
        this.companiesFaren = companiesFaren;
    }

    public String getCompaniesFaren() 
    {
        return companiesFaren;
    }

    public void setCompaniesKhyh(String companiesKhyh) 
    {
        this.companiesKhyh = companiesKhyh;
    }

    public String getCompaniesKhyh() 
    {
        return companiesKhyh;
    }

    public void setCompaniesYhzh(String companiesYhzh) 
    {
        this.companiesYhzh = companiesYhzh;
    }

    public String getCompaniesYhzh() 
    {
        return companiesYhzh;
    }

    public void setCompaniesGsdz(String companiesGsdz) 
    {
        this.companiesGsdz = companiesGsdz;
    }

    public String getCompaniesGsdz() 
    {
        return companiesGsdz;
    }

    public void setCompaniesTel(String companiesTel) 
    {
        this.companiesTel = companiesTel;
    }

    public String getCompaniesTel() 
    {
        return companiesTel;
    }

    public void setCompaniesMail(String companiesMail) 
    {
        this.companiesMail = companiesMail;
    }

    public String getCompaniesMail() 
    {
        return companiesMail;
    }

    public void setCompaniesRemark(String companiesRemark) 
    {
        this.companiesRemark = companiesRemark;
    }

    public String getCompaniesRemark() 
    {
        return companiesRemark;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companiesName", getCompaniesName())
            .append("companiesTin", getCompaniesTin())
            .append("companiesFaren", getCompaniesFaren())
            .append("companiesKhyh", getCompaniesKhyh())
            .append("companiesYhzh", getCompaniesYhzh())
            .append("companiesGsdz", getCompaniesGsdz())
            .append("companiesTel", getCompaniesTel())
            .append("companiesMail", getCompaniesMail())
            .append("companiesRemark", getCompaniesRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
